SPB Git

Repository Public

route.ts 339 B 8 lines typescript

1import { makeRouter } from "@/lib/api/router";2import { authRoutes } from "@/lib/api/authroutes";3import { clientIp } from "@/lib/http";45export const dynamic = "force-dynamic";6const handler = makeRouter(authRoutes, async (req) => ({ ip: clientIp(req) }));7export { handler as GET, handler as POST, handler as PATCH, handler as DELETE };8
Files main
Menu

Theme